package java44th.group.bean.wx.vo.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Aurhor: 帅的一批
 * @CreateAt: 2022/10/14 16:13
 * @Description:
 * @PACKAGE_NAME： java44th.group.bean.wx.vo.order
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class WxOrderListVo {

    private String orderStatusText;
    private Integer aftersaleStatus;
    private Boolean isGroupin;
    private Long orderSn;
    private Double actualPrice;
    private List<GoodsListDTO> goodsList;
    private Integer id;
    private WxOrderHandleOption handleOption;

//    @AllArgsConstructor
//    @NoArgsConstructor
//    @Data
//    public static class HandleOptionDTO {
//        private Boolean cancel;
//        private Boolean delete;
//        private Boolean pay;
//        private Boolean comment;
//        private Boolean confirm;
//        private Boolean refund;
//        private Boolean rebuy;
//        private Boolean aftersale;
//    }

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class GoodsListDTO {
        private Integer number;
        private String picUrl;
        private Double price;
        private Integer id;
        private String goodsName;
        private String[] specifications;
    }
}
